var userName = process.argv[2];
var pwd = process.argv[3];
var str = "用户名：" + userName + "  密码：" + pwd;
var buf1 = Buffer.from(str);
var str1 = buf1.toString("base64");
console.log(str);
console.log("base64加密："+str1);